QT += core
TEMPLATE = lib
CONFIG += plugin
TARGET = algorithm_foo_plugin

# 根据编译模式设置输出目录
CONFIG(debug, debug|release){
     DESTDIR = ../../mainwindow/debug/plugins
}
else{
    DESTDIR = ../../mainwindow/release/plugins
}

include(../../plugin_interface/plugin_interface.pri)

HEADERS += \
    algorithm_foo_plugin.h
SOURCES += \
    algorithm_foo_plugin.cpp
